body {
    margin: 0;
    padding: 0;
    background: #ffe;
    font-size: 14px;
    font-family: '微软雅黑', '宋体', sans-serif;
    color: #231F20;
    overflow: auto
}

a {
    color: #000;
    font-size: 14px;
}

#main {
    width: 100%;
}

#wrap {
    position: relative;
    margin: 0 auto;
    width: 1100px;
    height: 680px;
    margin-top: 10px;
}

#text {
    width: 400px;
    height: 425px;
    left: 60px;
    top: 50px;
    position: absolute;
}

#code {
    display: none;
    font-size: 19px;
}

#clock-box {
    position: absolute;
    left: 60px;
    top: 550px;
    font-size: 28px;
    display: none;
}

#clock-box a {
    font-size: 28px;
    text-decoration: none;
}

#clock {
    margin-left: 48px;
}

#clock .digit {
    font-size: 64px;
}

#canvas {
    margin: 0 auto;
    width: 1100px;
    height: 680px;
}

#error {
    margin: 0 auto;
    text-align: center;
    margin-top: 60px;
    display: none;
}

.hand {
    cursor: pointer;
}

.say {
    margin-left: 5px;
}

.space {
    margin-right: 150px;
}

@media screen and (max-width:768px) { /* 对于小于等于手机屏幕尺寸 */
    #wrap {
        position: relative;
        margin: 0 auto;
        width: 100vw;
        height: 100vh;
    }

    #text {
        width: auto;
        height: auto;
        left: 10px;
        top: 10px;
        position: absolute;
    }

    #code {
        display: none;
        font-size: 24px;
    }

    #clock-box {
        position: absolute;
        left: 5px;
        top: 90vh;
        font-size: 26px;
        color: deepskyblue;
        display: none;
    }

    .STYLE1{
        font-size: 26px;
        color: black;
    }

    #clock-box a {
        font-size: 24px;
        text-decoration: none;
    }

    #clock {
        margin-left: 0;
        color: black;
    }

    #clock .digit {
        font-size: 24px;
        color: crimson;
    }

    #canvas {
        margin: 0 auto;
        width: 100vw;
        height: 85vh;
    }

    #error {
        margin: 0 auto;
        text-align: center;
        margin-top: 60px;
        display: none;
    }

    .hand {
        cursor: pointer;
    }

    .say {
        margin-left: 5px;
    }

    .space {
        margin-right: 120px;
    }
}
